<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>内联样式</title>
</head>
    <body>
    <!--只影响当前文件内容-->

    <div style="color: black">内联样式1</div>
    <div style="color: red">内联样式2</div>

    </body>
</html>